<?php

class Backend_Form_VenueAdd extends Zend_Form
{

    public function init()
    {
        $this->setName("frmVenueAdd");

        $floorId = new Zend_Form_Element_Hidden('floor_id');
        $floorId->setValue(0);

        $elements = new Application_Form_Elements();
        $this->addElements(array(
            $elements->formName("Name", 25, "name"),
            $elements->formName("Description",255,"description"),
            $elements->formNumber("Size (sqm)", "size"),
            $elements->formNumber("Capacity (person)", "capacity"),
            $elements->formNumber("Cost per day", "cost"),
            $elements->formSubmit(),
            $floorId
        ));
    }

}

